﻿import request from '@/utils/request';
// list
export const suanfaleibieList = (params) => {
    return request({
        url: '/suanfaleibie/page',
        method: 'post',
        data: params,
    })
};
export const suanfaleibieDetail = (id) => {
    return request({
        url: '/suanfaleibie/'+id,
        method: 'get',
    })
};
// add
export const suanfaleibieSave = (params) => {
    return request({
        url: '/suanfaleibie',
        method: 'post',
        data: params,
    })
};
// updt
export const suanfaleibieEdit = (params) => {
    return request({
        url: '/suanfaleibie',
        method: 'put',
        data: params,
    })
};
// delete
export const suanfaleibieDelete = (id) => {
    return request({
        url: '/suanfaleibie/'+id,
        method: 'delete',
    })
};
// pldel
export const suanfaleibieDeleteList = (suanfaleibies) => {
    return request({
        url: '/suanfaleibie/deleteList',
        data:{list:suanfaleibies},
        method: 'post',
    })
};
// all
export const suanfaleibieAllList = () => {
    return request({
        url: '/suanfaleibie',
        method: 'get',
    })
};

